package
{
	import org.flixel.FlxObject;
	import org.flixel.FlxPoint;
	import org.flixel.FlxRect;

	public class Door extends FlxObject
	{
		public var fromZone:Zone
		public var toZoneClass:Class;
		public var zoneID:int = 0;

		public function Door(fromZone:Zone,toZoneClass:Class,zoneID:int,boundingBox:FlxRect)
		{
			super(boundingBox.x*16,boundingBox.y*16,boundingBox.width,boundingBox.height);
			this.fromZone = fromZone;
			this.toZoneClass = toZoneClass;
			this.zoneID = zoneID;
		}
	}
}